home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / AIAT / Headers / Index / InVecIndex.h < prev    next >
Encoding:
Text File  |  1998-04-16  |  836 b   |  42 lines  |  [TEXT/CWIE]

  1. // InVecIndex.h
  2. //    Copyright:    © 1994 - 1998 by Apple Computer, Inc., all rights reserved.
  3.  
  4. // combines vector and inverted indices
  5.  
  6. #pragma once
  7. #ifndef InVecIndex_h
  8. #define InVecIndex_h
  9.  
  10. #pragma import on
  11.  
  12. #if PRAGMA_STRUCT_ALIGN
  13.     #pragma options align=power
  14. #endif
  15.  
  16. #include "VectorIndex.h"
  17. #include "InvertedIndex.h"
  18.  
  19. #pragma IA_BEGIN_EXPORTS
  20.  
  21. const uint32        InVecIndexType = 'I&V2';
  22.  
  23. class InVecIndex : public InvertedIndex,  public VectorIndex {
  24. public:
  25.                 InVecIndex(IAStorage* s, IACorpus* c, IAAnalysis* a, uint32 t = InVecIndexType, IABlockID r = NULL);
  26.     IA_INLINE    ~InVecIndex() IA_INLINE_DEF()    // no-op dtor def
  27.                     
  28.     IADefineNarrowMethods(InVecIndex, IAIndex);
  29. protected:
  30.     void                DeletingDoc(DocInfo* i);
  31. };
  32.  
  33. #pragma IA_END_EXPORTS
  34.  
  35. #if PRAGMA_STRUCT_ALIGN
  36.     #pragma options align=reset
  37. #endif
  38.  
  39. #pragma import reset
  40.  
  41. #endif
  42.